﻿<%@ Page Title="Registration" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="SoftwareEngineering_Project.Accounts.register" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        color: #000000;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
    Register:</h2>
<p>
    <span class="style1">First name:</span><br />
    <asp:TextBox ID="Fname" runat="server" Width="179px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="First Name is Required"
        ControlToValidate="Fname"></asp:RequiredFieldValidator>
</p>
<p>
    <span class="style1">Last name:<br />
    </span>
    <asp:TextBox ID="Lname" runat="server" Width="176px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Last Name is Required"
        ControlToValidate="Lname"></asp:RequiredFieldValidator>
</p>
<p>
    <span class="style1">Email:</span><br />
    <asp:TextBox ID="Email" runat="server"></asp:TextBox>
    @communitychange.org
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Email is Required"
        ControlToValidate="Email"></asp:RequiredFieldValidator>
</p>
<p>
    <span class="style1">Password:<br />
    </span>
    <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Password is Required"
        ControlToValidate="Password"></asp:RequiredFieldValidator>
</p>
<p>
    <span class="style1">Repeat password:</span><br />
    <asp:TextBox ID="TextBox6" runat="server" TextMode="Password"></asp:TextBox>
    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Passwords did not match"
        ControlToValidate="TextBox6" ControlToCompare="Password"></asp:CompareValidator>
    &nbsp;&nbsp;&nbsp;
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
        Text="Create Account" CausesValidation="true" />
    <asp:Label ID="Errormessage" runat="server" Font-Bold="True" 
        ForeColor="#CC3300" Text="Label" Visible="False"></asp:Label>
</p>
</asp:Content>
